<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Materials_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-materials_image" class="form-control" size="50" name="row[materials_image]" type="text" value="{$row.materials_image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-materials_image" class="btn btn-danger faupload" data-input-id="c-materials_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-materials_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-materials_image" class="btn btn-primary fachoose" data-input-id="c-materials_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-materials_image"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-materials_image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Id_card_number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-id_card_number" class="form-control" name="row[id_card_number]" type="text" value="{$row.id_card_number|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Id_card_images')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-id_card_images" class="form-control" size="50" name="row[id_card_images]" type="text" value="{$row.id_card_images|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-id_card_images" class="btn btn-danger faupload" data-input-id="c-id_card_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-id_card_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-id_card_images" class="btn btn-primary fachoose" data-input-id="c-id_card_images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-id_card_images"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-id_card_images"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Guarantee_file')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-guarantee_file" class="form-control" size="50" name="row[guarantee_file]" type="text" value="{$row.guarantee_file|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-guarantee_file" class="btn btn-danger faupload" data-input-id="c-guarantee_file" data-multiple="false" data-preview-id="p-guarantee_file"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-guarantee_file" class="btn btn-primary fachoose" data-input-id="c-guarantee_file" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-guarantee_file"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-guarantee_file"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contract_file')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-contract_file" class="form-control" size="50" name="row[contract_file]" type="text" value="{$row.contract_file|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-contract_file" class="btn btn-danger faupload" data-input-id="c-contract_file" data-multiple="false" data-preview-id="p-contract_file"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-contract_file" class="btn btn-primary fachoose" data-input-id="c-contract_file" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-contract_file"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-contract_file"></ul>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
